package com.tfswx.serialport.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ricky
 * @date 2021/7/21
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "serialport")
public class SerialportConfig {
    private String portName;
    private Integer baudRate;
    private Long interval;
}
